// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

#nullable enable

using System.Diagnostics;

namespace Ignitor
{
    [DebuggerDisplay("{SerializedValue}")]
    public abstract class Node
    {
        public virtual ContainerNode? Parent { get; set; }

        public string SerializedValue => NodeSerializer.Serialize(this);
    }
}

#nullable restore
